<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="dictCategoryList" checkbox="true" fitColumns="true" title="培训题目管理" 
   actionUrl="trainQuestionController.do?datagrid&trainItemId=${trainItemId}" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="培训名称"  field="trainItem.trainningName"   query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="题目名称"  field="title" hidden="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="选项A"  field="option1" hidden="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="选项B"  field="option2" hidden="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="选项C"  field="option3" hidden="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="选项D"  field="option4" hidden="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="答案"  field="answer" hidden="false" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="160"></t:dgCol>
   <t:dgFunOpt  funname="editItemDetail({'编辑'},{'trainQuestionController.do?goUpdate'},id,{'460'},{'280'})" title="编辑" />
   <t:dgDelOpt title="删除" url="trainQuestionController.do?doDel&id={id}" />
   <t:dgToolBar title="录入" icon="icon-add" url="trainQuestionController.do?goAdd&trainId=${trainItemId}" funname="add" height="280" width="460"></t:dgToolBar>
   </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 		
 });
 
  
 
 </script>